package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.WorkflowApplyLineDTO;
import com.hunttown.mes.rpc.domain.query.WorkflowApplyLineDTOQuery;

/**
 * created by wangjunfu on 2019-08-01 15:48:26
 */
public interface WorkflowApplyLineRpcService {

    WorkflowApplyLineDTO insert(WorkflowApplyLineDTO workflowApplyLineDTO);

    Boolean updateInfoById(WorkflowApplyLineDTO workflowApplyLineDTO);

    Boolean updateInfoByQuery(WorkflowApplyLineDTOQuery workflowApplyLineDTOQuery);

    WorkflowApplyLineDTO selectById(Integer id);

    WorkflowApplyLineDTO selectObjByQuery(WorkflowApplyLineDTOQuery workflowApplyLineDTOQuery);

    Page<WorkflowApplyLineDTO> getListForPage(WorkflowApplyLineDTOQuery workflowApplyLineDTOQuery);

    Boolean deleteById(Integer id);
}